package com.primforce.respository.feign;

import com.primforce.respository.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author lenovo
 * @Date 2024/12/17 21:39
 **/
@FeignClient(name = "primforce-feign", url = "http://127.0.0.1:8088/repository/user/feign")
public interface UserFeign {

    @GetMapping("/userList")
    List<User> userList();
}
